class CreateWeekTimeSheets < ActiveRecord::Migration
  def self.up
    create_table :week_time_sheets do |t|
      t.date :start_date
      t.decimal :monday_time,     :default=>0
      t.decimal :tuesday_time,    :default=>0
      t.decimal :wednessday_time, :default=>0
      t.decimal :thursday_time,   :default=>0
      t.decimal :friday_time,     :default=>0
      t.decimal :saturday_time,   :default=>0
      t.decimal :sunday_time,     :default=>0
      t.integer :task_id
      t.integer :submit,          :default=>0
      t.integer :active,          :default=>0

      t.timestamps
    end
  end

  def self.down
    drop_table :week_time_sheets
  end
end
